<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/18
 * Time: 14:06
**/
require_once('config.php');
session_start();
if(!isset($_SESSION['user'])){
    $host='http://'.$_SERVER['SERVER_NAME'];
    echo '<script type="text/javascript">alert("请先登录");window.parent.location=("'.$host.'/loginControl/login.php");</script>';
    exit;
}

?>


